﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="ListComment.ascx.cs"
    Inherits="NCS.Module.CMS.Web.HomePage.ListComment" %>
<%@ Register Assembly="NCS.Library" Namespace="NCS.Library.Controls" TagPrefix="cc2" %>

<div class="boxcomment">
<div class="boxcomment_sub1">
    
    <div class="text_ykien2">Danh sách góp ý</div>
    
    <cc2:GridView ID="grdComment" runat="server" AutoGenerateColumns="false" Width="100%"
        CellPadding="5" CellSpacing="0" GridLines="none" ShowHeader="false" BorderWidth="0"
        Height="100%" AllowPaging="True" PageSize="5">
        <RowStyle HorizontalAlign="Left" />
        <Columns>
            <asp:TemplateField>
                <itemtemplate>
                    <ul style="text-align:left; margin-left:20px;" class="textcomment">
                        <li><span>
                            <a href="#">
                                <%# DataBinder.Eval(Container, "DataItem.Comment_Name") %>
                            </a>
                            (<a href='mailto:<%# DataBinder.Eval(Container, "DataItem.Comment_Email") %>'><%# DataBinder.Eval(Container, "DataItem.Comment_Email") %></a>):
                            </span>
                            <span>
                            <br/>
                            <%# DataBinder.Eval(Container, "DataItem.Comment_Content") %>
                            </span><br />
                        </li> 
                    </ul>
                </itemtemplate>
            </asp:TemplateField>
        </Columns>
    </cc2:GridView>

</div>
</div>
